package com.huayi.datagovernance.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huayi.datagovernance.common.SysConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 设备模型子类型元数据
 * </p>
 *
 * @author dalong
 * @since 2021-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ConfModelmeta对象", description="设备模型子类型元数据")
@TableName(value = "conf_modelmeta",schema = SysConstant.DB_SCHEMA_CONF)
public class ConfModelmeta implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键OID")
    @TableId(value = "oid", type = IdType.NONE)
    private Long oid;

    @ApiModelProperty(value = "状态ID")
    private BigDecimal stateId;

    @ApiModelProperty(value = "所在图形任务ID")
    private BigDecimal versionid;

    @ApiModelProperty(value = "设备子类型ID")
    private Long modelid;

    @ApiModelProperty(value = "设备类型ID")
    private Long classid;

    @ApiModelProperty(value = "设备子类型名称")
    private String modelname;

    @ApiModelProperty(value = "设备子类型别名")
    private String modelalias;

    @ApiModelProperty(value = "是否是连接模型，所有具备拓扑连接描述的设备模型")
    private Long isconducting;

    @ApiModelProperty(value = "端子偏移量定义")
    private String terminaldef;

    @ApiModelProperty(value = "设备模型端子对象是否可以进行位置编辑")
    private Long caneditterminal;

    @ApiModelProperty(value = "符号字段")
    private String symbolfields;

    @ApiModelProperty(value = "PSR类型")
    private String psrtype;

    @ApiModelProperty(value = "PSR名称")
    private String psrname;

    @ApiModelProperty(value = "描述设备再IEC分类标准下的对象")
    private Long cimtype;

    @ApiModelProperty(value = "空间类型")
    private Long geotype;

    @ApiModelProperty(value = "是否有台账")
    private Long isequipment;

    @ApiModelProperty(value = "物理数据")
    private Long electriclogic;


}
